package com.payment.system.domain;

import com.payment.common.annotation.Excel;
import com.payment.common.base.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 公司入账记录表 sys_company_money_chang
 *
 * @author payment
 * @date 2019-12-03
 */
@Getter
@Setter
public class CompanyMoneyChang extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private String id;
    private Integer number;
    private BigDecimal totalEntryMoney;
    private BigDecimal totalProfitMoney;
    private BigDecimal totalMoney;
    /**
     * 入账金额
     */
    @Excel(name = "入账金额")
    private BigDecimal entryMoney;
    /**
     * 分润金额
     */
    @Excel(name = "分润金额")
    private BigDecimal profitMoney;
    /**
     * 实际收入金额
     */
    @Excel(name = "实际收入金额")
    private BigDecimal money;
    /**
     * 订单ID
     */
    @Excel(name = "订单ID")
    private String orderId;


    @Excel(name = "订单状态", readConverterExp = "0=无卡消费,1=养卡消费,2=养卡代付,3=无卡出款,4=退款,5=提现,6=充值升级,7=全额消费,8=全额还款,9卡测评"
            + ",10=境外消费,11=快捷无卡")
    private String orderType;

    @Excel(name = "交易金额")
    private String amountMoney;
    @Excel(name = "交易商户")
    private String merchantName;

    @Excel(name = "通道编号")
    private String acqCode;


    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
